package com.ordering.service.register.impl;

import com.ordering.dao.register.RegisterDao;
import com.ordering.dao.register.impl.RegisterDaoImpl;
import com.ordering.entity.Message;
import com.ordering.entity.User;
import com.ordering.service.register.RegisterService;

public class RegisterServiceImpl implements RegisterService
{
    RegisterDao registerDao = new RegisterDaoImpl();
    @Override
    public Message msisdnIsAvailable(String msisdn)
    {
        return registerDao.msisdnIsAvailable(msisdn);
    }

    @Override
    public Message register(User user)
    {
        
        return registerDao.register(user);
    }

}
